<style>
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    color: #333;
    background-color: #f9f9f9;
  }

  .container {
    max-width: 1000px;
    margin: 0 auto;
  }

  h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }

  .table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }

  th,
  td {
    padding: 12px 15px;
    text-align: left;
  }

  th {
    background-color: #3498db;
    color: white;
    font-weight: bold;
  }

  tr {
    border-bottom: 1px solid #e0e0e0;
  }

  tr:nth-child(even) {
    background-color: #f5f7fa;
  }

  tr:hover {
    background-color: #f0f7ff;
  }

  .status-up {
    color: #27ae60;
    font-weight: bold;
  }

  .status-down {
    color: #e74c3c;
    font-weight: bold;
  }

  .product {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .product img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
  }

  .stock {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    color: white;
  }

  .stock-adequate {
    background-color: #27ae60;
  }

  .stock-low {
    background-color: #f39c12;
  }

  .stock-out {
    background-color: #e74c3c;
  }
</style>

<div class="container">
  <h1>月度销售报表</h1>

  <div class="table-wrapper">
    <table>
      <thead>
        <tr>
          <th>产品名称</th>
          <th>类别</th>
          <th>7月销量</th>
          <th>8月销量</th>
          <th>9月销量</th>
          <th>环比增长</th>
          <th>库存状态</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>
            <div class="product">
              <img src="https://picsum.photos/id/96/40/40" alt="智能手机" />
              <span>超极智能手机 Pro</span>
            </div>
          </td>
          <td>智能手机</td>
          <td>1,245</td>
          <td>1,382</td>
          <td>1,520</td>
          <td class="status-up">+9.9%</td>
          <td><span class="stock stock-adequate">充足</span></td>
        </tr>
        <tr>
          <td>
            <div class="product">
              <img src="https://picsum.photos/id/20/40/40" alt="笔记本电脑" />
              <span>轻薄笔记本 Air</span>
            </div>
          </td>
          <td>笔记本电脑</td>
          <td>856</td>
          <td>921</td>
          <td>987</td>
          <td class="status-up">+7.2%</td>
          <td><span class="stock stock-low">紧张</span></td>
        </tr>
        <tr>
          <td>
            <div class="product">
              <img src="https://picsum.photos/id/119/40/40" alt="平板电脑" />
              <span>平板 Mini</span>
            </div>
          </td>
          <td>平板电脑</td>
          <td>654</td>
          <td>632</td>
          <td>598</td>
          <td class="status-down">-5.4%</td>
          <td><span class="stock stock-adequate">充足</span></td>
        </tr>
        <tr>
          <td>
            <div class="product">
              <img src="https://picsum.photos/id/160/40/40" alt="智能手表" />
              <span>智能手表 Series 5</span>
            </div>
          </td>
          <td>可穿戴设备</td>
          <td>1,025</td>
          <td>1,158</td>
          <td>1,245</td>
          <td class="status-up">+7.5%</td>
          <td><span class="stock stock-out">缺货</span></td>
        </tr>
        <tr>
          <td>
            <div class="product">
              <img src="https://picsum.photos/id/111/40/40" alt="无线耳机" />
              <span>无线耳机 Pro</span>
            </div>
          </td>
          <td>音频设备</td>
          <td>1,876</td>
          <td>2,154</td>
          <td>2,345</td>
          <td class="status-up">+8.8%</td>
          <td><span class="stock stock-adequate">充足</span></td>
        </tr>
      </tbody>
    </table>
  </div>
</div>
